.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

/* 全局样式 */
.app {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 顶部导航区域 */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2563eb;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
  color: #2563eb;
}

/* 英雄区域 */
.hero {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* 按钮样式 */
.cta-button {
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cta-button.primary {
  background-color: #f59e0b;
  color: white;
}

.cta-button.primary:hover {
  background-color: #e6900a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
  background-color: #fff;
  color: #2563eb;
  margin: 0 10px;
  border: 2px solid #fff;
}

.cta-button.secondary:hover {
  background-color: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button.tertiary {
  background-color: #2563eb;
  color: white;
  margin-left: 10px;
}

/* 痛点说明区域 */
.pain-points {
  padding: 80px 0;
  background-color: #f8fafc;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #1e293b;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.pain-point-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pain-point-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.pain-point-card h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #475569;
}

/* 目标用户区域 */
.target-users {
  padding: 80px 0;
}

.target-users-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.target-users-image {
  flex: 1;
}

.placeholder-image {
  background-color: #e2e8f0;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #94a3b8;
  font-weight: 500;
}

.target-users-text {
  flex: 1;
  font-size: 1.1rem;
  color: #64748b;
}

/* 核心功能区域 */
.features {
  padding: 80px 0;
  background-color: #f8fafc;
}

.feature-section {
  margin-bottom: 60px;
}

.feature-section-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 30px;
  color: #1e293b;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #2563eb;
}

.feature-card p {
  color: #64748b;
  line-height: 1.7;
}

/* 行动召唤区域 */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  color: white;
}

.cta-section .section-title {
  color: white;
  margin-bottom: 40px;
}

.email-form {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.email-form input {
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  width: 300px;
  margin-right: 10px;
  font-size: 1rem;
}

.email-form input:focus {
  outline: none;
}

/* 页脚区域 */
.footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 30px 0;
  text-align: center;
}

.footer-content p {
  margin: 0;
}

/* 图标样式 */
.pain-point-icon {
  height: 2.5rem;
  width: 2.5rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

.feature-icon {
  height: 3rem;
  width: 3rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  height: 100%;
  width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
  }
  
  .nav-menu {
    margin-top: 20px;
  }
  
  .nav-item {
    margin: 0 10px;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .target-users-content {
    flex-direction: column;
  }
  
  .email-form {
    flex-direction: column;
    align-items: center;
  }
  
  .email-form input {
    margin-right: 0;
    margin-bottom: 10px;
    width: 80%;
  }
  
  .cta-button {
    display: block;
    margin: 10px auto;
  }
  
  .cta-buttons {
    margin-bottom: 20px;
  }
}